package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

/**
 * 灵猫招募日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_holiday_activity_recruit", desc = "灵猫献宝招募日志", autoSave = true, uploadCk = true)
public class LogHolidayActivityRecruit extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activity;

    @FieldTypeAnnotation(desc = "类型（1：1次；2：10次）")
    private int recruitType;

    @FieldTypeAnnotation(desc = "灵猫等级")
    private List<Integer> recruitList;

    @FieldTypeAnnotation(desc = "消耗值")
    private long num;

    @FieldTypeAnnotation(desc = "当前值")
    private long nowNum;

    @FieldTypeAnnotation(desc = "时间")
    private long logTime;

    public LogHolidayActivityRecruit(long userId, int activity, int recruitType, List<Integer> recruitList, long num, long nowNum, long logTime) {
        this.userId = userId;
        this.activity = activity;
        this.recruitType = recruitType;
        this.recruitList = recruitList;
        this.num = num;
        this.nowNum = nowNum;
        this.logTime = logTime;
    }

    public long getUserId() {
        return userId;
    }

}
